// 自动生成模板EmailConfig
package emailBox

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// EmailConfig 结构体
type EmailConfig struct {
	global.GVA_MODEL
	Uuid          string `json:"uuid" form:"uuid" gorm:"column:uuid;comment:用户;size:255;"`
	EmailAddress  string `json:"emailAddress" form:"emailAddress" gorm:"column:email_address;comment:邮箱地址;size:255;"`
	HostName      string `json:"hostName" form:"hostName" gorm:"column:host_name;comment:host地址;size:255;"`
	Port          string `json:"port" form:"port" gorm:"column:port;comment:端口;size:255;"`
	EmailPassword string `json:"emailPassword" form:"emailPassword" gorm:"column:email_password;comment:邮箱密码;size:255;"`
}

// TableName EmailConfig 表名
func (EmailConfig) TableName() string {
	return "email_config"
}
